/**
 * Copyright (c) 2020 qar All rights reserved.
 * <p>
 * https://www.qar.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.example.service;

import com.example.dto.GenDatasourceDTO;
import com.example.mybatis.service.BaseService;
import com.example.model.page.PageData;
import com.example.entity.DataSourceEntity;

import java.util.List;
import java.util.Map;

/**
 * 数据源管理
 *
 * @author Mark sunlightcs@gmail.com
 */
public interface DataSourceService extends BaseService<DataSourceEntity> {

    PageData<GenDatasourceDTO> page(Map<String, Object> params);

    List<GenDatasourceDTO> list();
}